package com.angel.architecture.persistence.beans;

import com.angel.architecture.persistence.base.PersistentObject;

/**
 * TODO write comments
 */
public class Action extends PersistentObject {

	private static final long serialVersionUID = -5321591361714162623L;

	private String descripcion;
	private String action;
	private String target;
	private String contextual;
	private Long menu;

	public Action() {
        super();
    }

	public Action(String descripcion,String action, String contextual,String target,Long id) {
        super();
        this.descripcion=descripcion;
		this.action=action;
		this.contextual=contextual;
		this.target=target;
	}

    /**
	 * @hibernate.property column="DESCRIPCION" length="100" not-null="true"
	 */
	public String getDescripcion() {
		return this.descripcion;
	}
	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

    /**
	 * @hibernate.property column="ACTION" length="100" not-null="true"
	 */
	public String getAction() {
		return this.action;
	}
	public void setAction(String action) {
		this.action = action;
	}

    /**
	 * @hibernate.property column="TARGET" length="50"
	 */
	public String getTarget() {
		return this.target;
	}
	public void setTarget(String target) {
		this.target = target;
	}

    /**
	 * @hibernate.property column="CONTEXTUAL" length="1" not-null="true"
	 */
	public String getContextual() {
		return contextual;
	}
	public void setContextual(String contextual) {
		this.contextual = contextual;
	}

    public Long getMenu() {
        return menu;
    }

    public void setMenu(Long menu) {
        this.menu = menu;
    }
}
